import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { Dialog,NavBar,Button,Form,Field,CellGroup ,Tabbar,TabbarItem,Icon,Popup,DatePicker,PullRefresh,List,Cell,ConfigProvider,NumberKeyboard} from 'vant';
import 'vant/lib/index.css';  //设置根字体大小
import 'lib-flexible/flexible.js'
import router from '@/router'

const app = createApp(App)
app.use(Button);
app.use(router)
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Icon);
app.use(Popup)
app.use(DatePicker)
app.use(PullRefresh)
app.use(List)
app.use(Cell)
app.use(ConfigProvider)
app.use(NumberKeyboard)
app.use(NavBar)
app.use(Dialog)




app.mount('#app')
